package top.lt.lt_ssm.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class protype {
	public protype(){}
	public protype(Integer pid, String pname, Double price, String factoryMerchants, Date dateOfProduction,
			String ptypeName) {
		this.pid = pid;
		this.pname = pname;
		this.price = price;
		this.factoryMerchants = factoryMerchants;
		this.dateOfProduction = dateOfProduction;
		this.ptypeName = ptypeName;
	}

	private Integer pid;

    private String pname;

    private Double price;

    private String factoryMerchants;

    private Date dateOfProduction;
    
    private String ptypeName;

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getFactoryMerchants() {
		return factoryMerchants;
	}

	public void setFactoryMerchants(String factoryMerchants) {
		this.factoryMerchants = factoryMerchants;
	}

	 @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public Date getDateOfProduction() {
		return dateOfProduction;
	}

	 @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public void setDateOfProduction(Date dateOfProduction) {
		this.dateOfProduction = dateOfProduction;
	}

	public String getPtypeName() {
		return ptypeName;
	}

	public void setPtypeName(String ptypeName) {
		this.ptypeName = ptypeName;
	}
    
    
}
